package com.example.buildtable.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true)
public class BankTransfer {
    @TableId(type = IdType.AUTO)
    private Integer bankTransferId;
    @TableField(value = "bank_card_id", target = BankCard.class)
    private Integer bankCardId;
    @TableField(relation = Relation.MANY_TO_MANY)
    private BankCard bankCard;
    @TableField(value = "bank_transfer_member_id", target = Member.class)
    private Integer bankTransferMemberId;
    @TableField(relation = Relation.MANY_TO_MANY)
    private Member member;
    private Integer bankTransferMoney;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date transferTime;
    private String remark;
    private Integer status;
}
